package cn.microvideo.videopf.camera.entity;

import lombok.Data;

import java.util.List;

/**
 * @author jinp
 * @version 1.0
 * @Description
 * @date 2019/11/6 17:14
 */
@Data
public class OnlineSteamResponse {
    /**
     * ret : 0
     * data : [{"startTime":1544382953,"pushIP":"111.222.33.4:55068","domain":"test.example.com","app":"live","stream":"bstest123"},{"startTime":1544375507,"pushIP":"111.222.33.5:46884","domain":"test.example.com","app":"live","stream":"bstest124"}]
     * errmsg :
     */

    private int ret;
    private String errmsg;
    private List<DataBean> data;

    public static class DataBean {
        /**
         * startTime : 1544382953
         * pushIP : 111.222.33.4:55068
         * domain : test.example.com
         * app : live
         * stream : bstest123
         */

        private int startTime;
        private String pushIP;
        private String domain;
        private String app;
        private String stream;

        public int getStartTime() {
            return startTime;
        }

        public void setStartTime(int startTime) {
            this.startTime = startTime;
        }

        public String getPushIP() {
            return pushIP;
        }

        public void setPushIP(String pushIP) {
            this.pushIP = pushIP;
        }

        public String getDomain() {
            return domain;
        }

        public void setDomain(String domain) {
            this.domain = domain;
        }

        public String getApp() {
            return app;
        }

        public void setApp(String app) {
            this.app = app;
        }

        public String getStream() {
            return stream;
        }

        public void setStream(String stream) {
            this.stream = stream;
        }
    }
}
